using System;
using System.Collections.Generic;
using System.Text;

namespace Chat.metier
{
    [Serializable]
    public class Connection
    {
        public Connection()
        { 
        }

        public Connection(string guid, User user, int statut)
        {
            this.guid = guid;
            this._user = user;
            this._statut = statut;
        }

        private int _id;

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }

        private string guid;

        public string Guid
        {
            get { return guid; }
            set { guid = value; }
        }

        private User _user;

        internal User User
        {
            get { return _user; }
            set { _user = value; }
        }
        private int _statut;

        public int Statut
        {
            get { return _statut; }
            set { _statut = value; }
        }
    }
}
